<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <!-- <link rel="stylesheet" href="/css/modules/reset.css"> -->
    <link rel="stylesheet" href="/css/index.css">
    <link rel="stylesheet" href="/libs/iconfont/iconfont.css">
    <link rel="stylesheet" href="/libs/swiper4/css/swiper.min.css">
    <style>
        .banner {
            width: 100%;
            height: 362px;
        }
        .banner img{
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>
    <!-- 模块一 | 标题头部 -->
    <header></header>

    <!-- 模块二 | banner图 -->
    <!-- <div class="banner">
        <ul class="banner_img">
            <li><img src="/images/index/banner01.jpg" alt=""></li>
            <li><img src="/images/index/banner01.jpg" alt=""></li>
            <li><img src="/images/index/banner01.jpg" alt=""></li>
            <li><img src="/images/index/banner01.jpg" alt=""></li>
        </ul> -->
    <!-- 小圆点 -->
    <!-- <div class="slide_spot">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div> -->

    <div class="swiper-container banner">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="/images/index/banner01.jpg" alt=""></div>
            <div class="swiper-slide"><img src="/images/index/banner02.jpg" alt=""></div>
            <div class="swiper-slide"><img src="/images/index/banner03.jpg" alt=""></div>
            <div class="swiper-slide"><img src="/images/index/banner04.jpg" alt=""></div>
            <div class="swiper-slide"><img src="/images/index/banner05.jpg" alt=""></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>

        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>
    </div>

    <!-- <script>
        var mySwiper = new Swiper('.banner', {
                    loop: true, // 循环模式选项
                    speed: 1000,
                    autoplay: true,
                    // 如果需要分页器
                    pagination: {
                        el: '.swiper-pagination',
                    },
        
                    // 如果需要前进后退按钮
                    navigation: {
                        nextEl: '.swiper-button-next',
                        prevEl: '.swiper-button-prev',
                    },
        
                    // 如果需要滚动条
                    scrollbar: {
                        el: '.swiper-scrollbar',
                    }
                })
    </script> -->

    <!-- 模块三 | 当季热销 -->
    <div class="hot">
        <h2>当季热销</h2>
        <div class="content" id="activitiesList">

        </div>
        <!-- 模板引擎 -->
        <script type="text/html" id="activitiesListTemplate">
            {{each list item,index}}
            <dl class="goods" >                              
            <img src="{{item.src}}" alt="">
            <a href="#" class="goods_txt">
                <h3>{{item.info}}</h3>
                <p>{{item.name}}</p>
                <span>￥{{item.price}}</span>
            </a>
            <a href="#" class="buy">购买</a>
            </dl>
            {{/each }}
        </script>

        <!-- 小圆点 -->
        <div class="slide_spot">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </div>


    <!-- 模块四 | 明星系列 -->
    <div class="star">
        <h2>明星系列</h2>
        <div class="star_img">
            <img src="/images/index/star.jpg" alt="">
        </div>
        <div class="black">
            <h3 class="black_title">小黑家族</h3>
            <p class="desc">兰蔻超人气明星精华，由眼及面，重现细嫩好肤质。</p>
            <div class="content star_con" id="blackList">

            </div>
            <script type="text/html" id="blackListTemplate">
                {{each list black}}
                <dl class="goods">
                    <img src="{{black.src}}" alt="">
                    <a href="#" class="goods_txt">
                        <h3>{{black.info}}</h3>
                        <p>{{black.name}}</p>
                        <span>￥{{black.price}}</span>
                    </a>
                    <a href="#" class="buy">购买</a>
                </dl>
                {{/each}}
            </script>
            <!-- 小圆点 -->
            <div class="slide_spot">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
    </div>

    <!-- 模块五 | 官网臻享礼遇 -->
    <div class="gift">
        <h2>官网臻享礼遇</h2>
        <div class="content">
            <img src="/images/index/gift.jpg" alt="">
        </div>
    </div>

    <!-- 模块六 | 官网特别服务 -->
    <div class="server">
        <h2>官网特别服务</h2>
        <div class="content" id="serverList">

        </div>
        <script type="text/html" id="serverListTemplate">
                {{each list server}}
                <dl class="new">
                        <img src="{{server.src}}" alt="">
                        <h3>{{server.gift}}</h3>
                        <p>{{server.info}}</p>
                        <a href="#" class="buy">立即购买</a>
                    </dl>
                {{/each}}
            </script>
    </div>

    <!-- 模块七 | 图片展示 -->
    <div class="beauty">
        <img src="/images/index/beauty.jpg" alt="">
    </div>

    <!-- 模块八 | 底部 -->
    <footer></footer>
    <script src="/libs/require/require.min.js" data-main="/js/index"></script>
</body>

</html>